package com.authservice.authservice.service;

import com.authservice.authservice.domain.User;
import com.authservice.authservice.mapper.UserMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.annotation.Resource;

import java.util.List;

/**
* @author admin
* @description 针对表【user】的数据库操作Service
* @createDate 2025-04-07 11:33:11
*/
public interface UserService extends IService<User> {


    public User getByPhone(String account);

    /**
     * 新增用户
     * @param user
     */
    public void add(User user);

    /**
     * 用户列表
     * @param user
     * @return
     */
    public List<User> userList(User user);

}
